import { Headers } from "cross-fetch";

export const json = {
    'Content-Type': 'application/json; charset=utf-8',
    'Accept': 'application/json'
}

export const text = {
    'Content-Type': 'text/plain; charset=utf-8',
    'Accept': 'text/plain'
}

export const xml = {
    'Content-Type': 'application/xml‌; charset=utf-8',
    'Accept': 'application/xml‌'
}

export const from = {
    'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8',
    'Accept': 'application/x-www-form-urlencoded'
}

export const fromData = {
    'Content-Type': '‌multipart/form-data‌; charset=utf-8',
    'Accept': '‌multipart/form-data‌'
}

export const html = {
    'Content-Type': 'text/html‌; charset=utf-8',
    'Accept': 'text/html‌'
}